using System.ComponentModel.DataAnnotations;

namespace RAG.Application.Dtos;

/// <summary>
/// 更新角色DTO
/// </summary>
public class UpdateRoleDto
{
    [StringLength(50, ErrorMessage = "角色名称长度不能超过50个字符")]
    public string? RoleName { get; set; }

    [StringLength(200, ErrorMessage = "角色描述长度不能超过200个字符")]
    public string? RoleDescription { get; set; }

    /// <summary>
    /// 权限ID列表
    /// </summary>
    public List<Guid>? PermissionIds { get; set; }
} 